package br.ufal.tci.nexos.arcolive.tests;
import java.awt.Image;
import java.beans.BeanInfo;
import java.beans.IntrospectionException;
import java.beans.PropertyDescriptor;
import java.beans.SimpleBeanInfo;

public class ArCoLIVENetworkPlayerInternalFrameBeanInfo extends SimpleBeanInfo {
    
    private final static Class arcoliveNetworkPlayerInternalFrameClass = ArCoLIVENetworkPlayerInternalFrame.class;
    
    
    
    public Image getIcon(int type) {
        String name = "";
        if (type == BeanInfo.ICON_COLOR_16x16) {
            name = "COLOR_16x16";
        } else if (type == BeanInfo.ICON_COLOR_32x32) {
            name = "COLOR_32x32";
        } else if (type == BeanInfo.ICON_MONO_16x16) {
            name = "MONO_16x16";
        } else if (type == BeanInfo.ICON_MONO_32x32) {
            name = "MONO_32x32";
        }
        return loadImage("ArCoLIVENetworkPlayerInternalFrame_" + name
                + ".jpg");
    }
    
}